Integrand size = 14, antiderivative size = 91 \[ \int \frac {\cosh ^3\left (a+b x^2\right )}{x^3} \, dx=-\frac {3 \cosh \left (a+b x^2\right )}{8 x^2}-\frac {\cosh \left (3 \left (a+b x^2\right )\right )}{8 x^2}+\frac {3}{8} b \text {Chi}\left (b x^2\right ) \sinh (a)+\frac {3}{8} b \text {Chi}\left (3 b x^2\right ) \sinh (3 a)+\frac {3}{8} b \cosh (a) \text {Shi}\left (b x^2\right )+\frac {3}{8} b \cosh (3 a) \text {Shi}\left (3 b x^2\right ) \]
[Out]
Time = 0.16 (sec) , antiderivative size = 91, normalized size of antiderivative = 1.00, number of steps used = 12, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.429, Rules used = {5449, 5429, 3378, 3384, 3379, 3382} \[ \int \frac {\cosh ^3\left (a+b x^2\right )}{x^3} \, dx=\frac {3}{8} b \sinh (a) \text {Chi}\left (b x^2\right )+\frac {3}{8} b \sinh (3 a) \text {Chi}\left (3 b x^2\right )+\frac {3}{8} b \cosh (a) \text {Shi}\left (b x^2\right )+\frac {3}{8} b \cosh (3 a) \text {Shi}\left (3 b x^2\right )-\frac {3 \cosh \left (a+b x^2\right )}{8 x^2}-\frac {\cosh \left (3 \left (a+b x^2\right )\right )}{8 x^2} \]
[In]
[Out]
Rule 3378
Rule 3379
Rule 3382
Rule 3384
Rule 5429
Rule 5449
Rubi steps \begin{align*} \text {integral}& = \int \left (\frac {3 \cosh \left (a+b x^2\right )}{4 x^3}+\frac {\cosh \left (3 a+3 b x^2\right )}{4 x^3}\right ) \, dx \\ & = \frac {1}{4} \int \frac {\cosh \left (3 a+3 b x^2\right )}{x^3} \, dx+\frac {3}{4} \int \frac {\cosh \left (a+b x^2\right )}{x^3} \, dx \\ & = \frac {1}{8} \text {Subst}\left (\int \frac {\cosh (3 a+3 b x)}{x^2} \, dx,x,x^2\right )+\frac {3}{8} \text {Subst}\left (\int \frac {\cosh (a+b x)}{x^2} \, dx,x,x^2\right ) \\ & = -\frac {3 \cosh \left (a+b x^2\right )}{8 x^2}-\frac {\cosh \left (3 \left (a+b x^2\right )\right )}{8 x^2}+\frac {1}{8} (3 b) \text {Subst}\left (\int \frac {\sinh (a+b x)}{x} \, dx,x,x^2\right )+\frac {1}{8} (3 b) \text {Subst}\left (\int \frac {\sinh (3 a+3 b x)}{x} \, dx,x,x^2\right ) \\ & = -\frac {3 \cosh \left (a+b x^2\right )}{8 x^2}-\frac {\cosh \left (3 \left (a+b x^2\right )\right )}{8 x^2}+\frac {1}{8} (3 b \cosh (a)) \text {Subst}\left (\int \frac {\sinh (b x)}{x} \, dx,x,x^2\right )+\frac {1}{8} (3 b \cosh (3 a)) \text {Subst}\left (\int \frac {\sinh (3 b x)}{x} \, dx,x,x^2\right )+\frac {1}{8} (3 b \sinh (a)) \text {Subst}\left (\int \frac {\cosh (b x)}{x} \, dx,x,x^2\right )+\frac {1}{8} (3 b \sinh (3 a)) \text {Subst}\left (\int \frac {\cosh (3 b x)}{x} \, dx,x,x^2\right ) \\ & = -\frac {3 \cosh \left (a+b x^2\right )}{8 x^2}-\frac {\cosh \left (3 \left (a+b x^2\right )\right )}{8 x^2}+\frac {3}{8} b \text {Chi}\left (b x^2\right ) \sinh (a)+\frac {3}{8} b \text {Chi}\left (3 b x^2\right ) \sinh (3 a)+\frac {3}{8} b \cosh (a) \text {Shi}\left (b x^2\right )+\frac {3}{8} b \cosh (3 a) \text {Shi}\left (3 b x^2\right ) \\ \end{align*}
Time = 0.06 (sec) , antiderivative size = 92, normalized size of antiderivative = 1.01 \[ \int \frac {\cosh ^3\left (a+b x^2\right )}{x^3} \, dx=\frac {-3 \cosh \left (a+b x^2\right )-\cosh \left (3 \left (a+b x^2\right )\right )+3 b x^2 \text {Chi}\left (b x^2\right ) \sinh (a)+3 b x^2 \text {Chi}\left (3 b x^2\right ) \sinh (3 a)+3 b x^2 \cosh (a) \text {Shi}\left (b x^2\right )+3 b x^2 \cosh (3 a) \text {Shi}\left (3 b x^2\right )}{8 x^2} \]
[In]
[Out]
Time = 0.18 (sec) , antiderivative size = 121, normalized size of antiderivative = 1.33
method | result | size |
risch | \(-\frac {-3 \,{\mathrm e}^{-3 a} \operatorname {Ei}_{1}\left (3 b \,x^{2}\right ) b \,x^{2}-3 \,{\mathrm e}^{-a} \operatorname {Ei}_{1}\left (b \,x^{2}\right ) b \,x^{2}+3 \,{\mathrm e}^{3 a} \operatorname {Ei}_{1}\left (-3 b \,x^{2}\right ) b \,x^{2}+3 \,\operatorname {Ei}_{1}\left (-b \,x^{2}\right ) {\mathrm e}^{a} b \,x^{2}+{\mathrm e}^{-3 b \,x^{2}-3 a}+3 \,{\mathrm e}^{-b \,x^{2}-a}+{\mathrm e}^{3 b \,x^{2}+3 a}+3 \,{\mathrm e}^{b \,x^{2}+a}}{16 x^{2}}\) | \(121\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 168 vs. \(2 (80) = 160\).
Time = 0.25 (sec) , antiderivative size = 168, normalized size of antiderivative = 1.85 \[ \int \frac {\cosh ^3\left (a+b x^2\right )}{x^3} \, dx=-\frac {2 \, \cosh \left (b x^{2} + a\right )^{3} + 6 \, \cosh \left (b x^{2} + a\right ) \sinh \left (b x^{2} + a\right )^{2} - 3 \, {\left (b x^{2} {\rm Ei}\left (3 \, b x^{2}\right ) - b x^{2} {\rm Ei}\left (-3 \, b x^{2}\right )\right )} \cosh \left (3 \, a\right ) - 3 \, {\left (b x^{2} {\rm Ei}\left (b x^{2}\right ) - b x^{2} {\rm Ei}\left (-b x^{2}\right )\right )} \cosh \left (a\right ) - 3 \, {\left (b x^{2} {\rm Ei}\left (3 \, b x^{2}\right ) + b x^{2} {\rm Ei}\left (-3 \, b x^{2}\right )\right )} \sinh \left (3 \, a\right ) - 3 \, {\left (b x^{2} {\rm Ei}\left (b x^{2}\right ) + b x^{2} {\rm Ei}\left (-b x^{2}\right )\right )} \sinh \left (a\right ) + 6 \, \cosh \left (b x^{2} + a\right )}{16 \, x^{2}} \]
[In]
[Out]
\[ \int \frac {\cosh ^3\left (a+b x^2\right )}{x^3} \, dx=\int \frac {\cosh ^{3}{\left (a + b x^{2} \right )}}{x^{3}}\, dx \]
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 58, normalized size of antiderivative = 0.64 \[ \int \frac {\cosh ^3\left (a+b x^2\right )}{x^3} \, dx=-\frac {3}{16} \, b e^{\left (-3 \, a\right )} \Gamma \left (-1, 3 \, b x^{2}\right ) - \frac {3}{16} \, b e^{\left (-a\right )} \Gamma \left (-1, b x^{2}\right ) + \frac {3}{16} \, b e^{a} \Gamma \left (-1, -b x^{2}\right ) + \frac {3}{16} \, b e^{\left (3 \, a\right )} \Gamma \left (-1, -3 \, b x^{2}\right ) \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 224 vs. \(2 (80) = 160\).
Time = 0.26 (sec) , antiderivative size = 224, normalized size of antiderivative = 2.46 \[ \int \frac {\cosh ^3\left (a+b x^2\right )}{x^3} \, dx=\frac {3 \, {\left (b x^{2} + a\right )} b^{2} {\rm Ei}\left (3 \, b x^{2}\right ) e^{\left (3 \, a\right )} - 3 \, a b^{2} {\rm Ei}\left (3 \, b x^{2}\right ) e^{\left (3 \, a\right )} - 3 \, {\left (b x^{2} + a\right )} b^{2} {\rm Ei}\left (-b x^{2}\right ) e^{\left (-a\right )} + 3 \, a b^{2} {\rm Ei}\left (-b x^{2}\right ) e^{\left (-a\right )} - 3 \, {\left (b x^{2} + a\right )} b^{2} {\rm Ei}\left (-3 \, b x^{2}\right ) e^{\left (-3 \, a\right )} + 3 \, a b^{2} {\rm Ei}\left (-3 \, b x^{2}\right ) e^{\left (-3 \, a\right )} + 3 \, {\left (b x^{2} + a\right )} b^{2} {\rm Ei}\left (b x^{2}\right ) e^{a} - 3 \, a b^{2} {\rm Ei}\left (b x^{2}\right ) e^{a} - b^{2} e^{\left (3 \, b x^{2} + 3 \, a\right )} - 3 \, b^{2} e^{\left (b x^{2} + a\right )} - 3 \, b^{2} e^{\left (-b x^{2} - a\right )} - b^{2} e^{\left (-3 \, b x^{2} - 3 \, a\right )}}{16 \, b^{2} x^{2}} \]
[In]
[Out]
Timed out. \[ \int \frac {\cosh ^3\left (a+b x^2\right )}{x^3} \, dx=\int \frac {{\mathrm {cosh}\left (b\,x^2+a\right )}^3}{x^3} \,d x \]
[In]
[Out]